
package com.kweative.model.column;

import com.kweative.model.Table;
import com.kweative.model.sql.SQLDataType;

/**
 *
 * @author henrik
 */
public class ColumnFloat<T extends Table> extends Column<ColumnFloat,T> {

    public ColumnFloat(String name) {
        this();
		setName(name);
    }

	public ColumnFloat() {
		super(Float.class);
		setSQLDataType(SQLDataType.FLOAT);
	}


    @Override
    public Float unserialize(String value) {
        return Float.valueOf(value);
    }

    @Override
    public String serialize(Object value) {
        return String.valueOf(value);
    }



}
